package com.example.hms.service;

import com.example.hms.entity.User;
import com.example.hms.util.Result;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    Result login(String userId, String userPassword, HttpServletRequest request);

    Result info(HttpServletRequest request);

    Result selectAllUser(String userId,
                         String userName,
                         String roleName);

    Result 查询所有用户信息(String 用户ID,
                            String 用户名,
                            String 角色名);

    Result insert(User user);

    Result 插入(User 用户);

    Result update(User user);

    Result delete(String userId);
}
